package com.theme.passport.controller.request.param;

import com.alibaba.fastjson.JSON;

/**
 * @name: UeditorRet <tb>
 * @title: 请输入类描述  <tb>
 * @author: cuixinfu@51play.com <tb>
 * @date: 2021/11/5 14:27:32 <tb>
 */


/***
 * 图片上传成功响应类
 */
public class UeditorRet {

    private String state;

    private String original;

    private String size;

    private String title;

    private String type;

    private String url;

    public UeditorRet(String original, String size, String title, String type, String url) {
        this.state = "SUCCESS";
        this.original = original;
        this.size = size;
        this.title = title;
        this.type = type;
        this.url = url;
    }

    public String toJsonString() {
        return JSON.toJSONString(this);
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getOriginal() {
        return original;
    }

    public void setOriginal(String original) {
        this.original = original;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
